#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
using namespace std;

int main ()
{
	ofstream ascii ("ascii.txt");

	ascii << setw (7) << "Decimal" << setw (9) << "Octal" << setw (15)
			  << "Hexadecimal" << setw (13) << "Character" << showbase << endl;
	for (int i = 33; i <= 126; i++)
		ascii << setw (7) << i << setw (9) << oct << i << setw (15)
			  << dec << i << setw (13) << (char)i << endl;

	ascii.close ();


	ifstream file ("ascii.txt");
    cout << file.rdbuf ();

	return 0;
}
